package com.softline.documentsmall.service.impl;

import com.softline.documentsmall.dao.HandbookMapper;
import com.softline.documentsmall.entity.Handbook;
import com.softline.documentsmall.service.HandBookService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Author wph
 * @Date 2021/1/11 14:33
 */
@Service
@Slf4j
public class HandBookServiceImpl implements HandBookService {
    @Autowired
    HandbookMapper handbookMapper;
    @Override
    public Handbook query(String type,Long genre) {
        return handbookMapper.query(type,genre);
    }
}
